﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteNew.Master" Inherits="System.Web.Mvc.ViewPage<ASPNETMVCApplication.Areas.Supp.Models.SupplierModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Đăng kí tài khoản nhà xe
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   
   <script>
       $(function () {
           $("button, input:submit,input:reset").button();
       });
	</script>
    <div id="page-heading"><h1>Đăng kí tài khoản nhà xe</h1></div>

 <% using (Html.BeginForm("Register", "Supplier", FormMethod.Post, new { enctype = "multipart/form-data" }))
    {%>
        <%: Html.ValidationSummary(true) %>
<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
<tr>
	<th rowspan="3" class="sized"><img src="/Assets/images/shared/side_shadowleft.jpg" 
            width="20" height="300" alt="" /></th>
	<th class="topleft"></th>
	<td id="tbl-border-top">&nbsp;</td>
	<th class="topright"></th>
	<th rowspan="3" class="sized"><img src="/Assets/images/shared/side_shadowright.jpg" 
            width="20" height="300" alt="" /></th>
</tr>
<tr>
	<td id="tbl-border-left"></td>
	<td>
	<!--  start content-table-inner -->
	<div id="content-table-inner">
	
	<table border="0" width="100%" cellpadding="0" cellspacing="0">
	<tr valign="top">
	<td>
	
	
		
	
		<!-- start id-form -->
		<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
		<tr>
			<th valign="top">Tên tài khoản:</th>
			<td style="width: 248px"> <%: Html.TextBoxFor(model => model.UserName, new { @class = "inp-form" })%>
                <%: Html.ValidationMessageFor(model => model.UserName) %></td>
			<td></td>
		</tr>
        <tr>
			<th valign="top">Mật khẩu:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.Password, new { @class = "inp-form" })%>
                <%: Html.ValidationMessageFor(model => model.Password) %></td>
			<td></td>
		</tr>
         <tr>
			<th valign="top">Nhập lại mật khẩu:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.Password, new { @class = "inp-form" })%>
                <%: Html.ValidationMessageFor(model => model.Password) %></td>
			<td></td>
		</tr>
        <tr>
			<th valign="top">Tên công ty:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.CompanyName, new { @class = "inp-form" })%>
                <%: Html.ValidationMessageFor(model => model.CompanyName) %></td>
			<td></td>
		</tr>
        <tr>
			<th valign="top">Điện thoại:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.CompanyPhone, new { @class = "inp-form" })%>
                <%: Html.ValidationMessageFor(model => model.CompanyPhone) %>
            
            </td>
			<td></td>
		</tr>
        <tr>
			<th valign="top">Số di động:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.Mobilephone, new { @class = "inp-form" })%>
                <%: Html.ValidationMessageFor(model => model.Mobilephone) %></td>
			<td></td>
		</tr>
        <tr>
			<th valign="top">Email:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.Email, new { @class = "inp-form" })%>
                <%: Html.ValidationMessageFor(model => model.Email) %></td>
			<td></td>
		</tr>
		<tr>
			<th valign="top">Google ID:</th>
			<td style="width: 248px"> <%: Html.TextBoxFor(model => model.GoogleId, new { @class = "inp-form" })%>
                <%: Html.ValidationMessageFor(model => model.GoogleId) %>
			<td></td>
		</tr>
        <tr>
			<th valign="top">Yahoo ID:</th>
			<td style="width: 248px"> <%: Html.TextBoxFor(model => model.YahooId, new { @class = "inp-form" })%>
                <%: Html.ValidationMessageFor(model => model.YahooId) %></td>
			<td></td>
		</tr>
        <tr>
			<th valign="top">Skype ID:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.SkypeId, new { @class = "inp-form" })%>
                <%: Html.ValidationMessageFor(model => model.SkypeId) %></td>
			<td></td>
		</tr>
        <tr>
			<th valign="top">Facebook ID:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.FacebookId, new { @class = "inp-form" })%>
                <%: Html.ValidationMessageFor(model => model.FacebookId) %></td>
			<td></td>
		</tr>
		<tr>
	<th>Logo CTY:</th>
	<td style="width: 248px"><input type="file" name="logoUrl" id="logoUrl" class="file_1" /></td>
	<td>
	<div class="bubble-left"></div>
	<div class="bubble-inner">JPEG, GIF 5MB max per image</div>
	<div class="bubble-right"></div>
	</td>
   
	</tr>
	<tr>
		<th valign="top">Địa chỉ công ty:</th>
		<td style="width: 248px"><%: Html.TextAreaFor(model => model.Address, 10, 22, new { ID="editor1",@class="form-textarea" })%>
                <%: Html.ValidationMessageFor(model => model.Address)%></td>
		<td></td>
	</tr>	
		
	
	<tr>
		<th valign="top">Thông tin bổ sung:</th>
		<td style="width: 248px">
		<%: Html.TextAreaFor(model => model.Description, 10, 22, new { ID="editor1",@class="form-textarea" })%>
                <%: Html.ValidationMessageFor(model => model.Description)%></td>
		<td></td>
	</tr>
	
	
	<tr>
		<th>&nbsp;</th>
		<td valign="top">
			<input type="submit" value="Đăng kí"  />
			<input type="reset" value="Xóa"  />
		</td>
		<td></td>
	</tr>
	</table>
	<!-- end id-form  -->

	</td>
	<td>

	<!--Chức năng của từng loại tài khoản-->


</td>
</tr>
<tr>
<td><img src="images/shared/blank.gif" width="695" height="1" alt="blank" /></td>
<td></td>
</tr>
</table>
 
<div class="clear"></div>
 

</div>
<!--  end content-table-inner  -->
</td>
<td id="tbl-border-right"></td>
</tr>
<tr>
	<th class="sized bottomleft"></th>
	<td id="tbl-border-bottom">&nbsp;</td>
	<th class="sized bottomright"></th>
</tr>
</table>
    <% } %>
</asp:Content>

